

module.exports = function (app) {
    var dosth = require('../controllers/dosth-controller');

    app.post('/rest/' + RESTFullServiceVersion + '/backoffice/dosth/findCompatriots/:page/:size', dosth.findCompatriots);
    app.post('/rest/' + RESTFullServiceVersion + '/backoffice/dosth/findPlaymates/:page/:size', dosth.findPlaymates);
    app.post('/rest/' + RESTFullServiceVersion + '/backoffice/dosth/dosthTogether/:page/:size', dosth.dosthTogether);
    app.post('/rest/' + RESTFullServiceVersion + '/backoffice/dosth/dosthConfig/:page/:size', dosth.dosthConfig);
    app.post('/rest/' + RESTFullServiceVersion + '/backoffice/dosth/dosthConfig/addType/:page/:size', dosth.dosthConfigAdd);
    app.post('/rest/' + RESTFullServiceVersion + '/backoffice/dosth/dosthConfig/deleteType/:page/:size', dosth.dosthConfigDelete);
    app.get('/rest/' + RESTFullServiceVersion + '/backoffice/dosth/dosthType', dosth.dosthGetType);

    app.get('/rest/' + RESTFullServiceVersion + '/test', dosth.test);

};